<?php 

class IndexController
{
    public function Index()
    {
        $model = new Model('user');
        $data = $model->select();
        global $smarty;
        $smarty->assign('list', $data);
        $smarty->display('index/Index.html');
    }
}


